package com.amadues.b2cmall.ware.feign;

import com.amadues.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("b2cmall-product")
public interface ProductFeignService {
    /*
     * 过网关请求地址
     * /api/product/skuinfo/info/{id}
     * */
    @RequestMapping("/product/spuinfo/info/{id}")
    R info(@PathVariable("id") Long id);
}
